#!/bin/bash
# 生成 faceapi 接口定义文件(IDL)
sh_folder=$(cd "$(dirname $0)"; pwd -P)
pushd $sh_folder/../faceapi-service
mvn com.gitee.l0km:swift2thrift-maven-plugin:generate@faceapi || exit
mvn com.gitee.l0km:swift2thrift-maven-plugin:generate@fse || exit
popd